package com.myway.dto.ticket;

import com.myway.dto.ticket.domain.RefundErrorFixStatus;

import java.io.Serializable;

//import com.hna.mars.core.utils.DateUtils;

/**
 * @类名称：DTORefundErrorFix 
 * @类描述：退票异常处理 
 * @创建时间：2015年11月11日 下午7:58:41 
 * @author Jiang.Yida
 * @version V1.0
 */
public class DTORefundErrorFix implements Serializable {
	private Long id;
	private String paxIDs;
	private String PNR;
	private String fixStatus;
	private String createTime;
	private String fixTime;
	private String airline;
	private String ticketNOs;
	private String refundNO;
	private long refundID;
	private String refundTime;
	private boolean error;
	private String  fixUserName; 
	private Long    fixUserNo;
	private String type;
	
	public DTORefundErrorFix(){}
	
	public DTORefundErrorFix(String PNR,String paxIDs,String airline) {
		this.paxIDs = paxIDs;
		this.PNR = PNR;
		this.airline = airline;
		this.fixStatus = RefundErrorFixStatus.UNDO.getAlias();
//		this.createTime = DateUtils.dateToString(new Date(),"yyyy-MM-dd HH:mm:ss");
	}
	
	public DTORefundErrorFix(String PNR,String paxIDs,String airline, String type) {
		this.paxIDs = paxIDs;
		this.PNR = PNR;
		this.airline = airline;
		this.fixStatus = RefundErrorFixStatus.UNDO.getAlias();
//		this.createTime = DateUtils.dateToString(new Date(),"yyyy-MM-dd HH:mm:ss");
		this.type = type;
	}
	
	public String getFixUserName() {
		return fixUserName;
	}

	public void setFixUserName(String fixUserName) {
		this.fixUserName = fixUserName;
	}

	public Long getFixUserNo() {
		return fixUserNo;
	}

	public void setFixUserNo(Long fixUserNo) {
		this.fixUserNo = fixUserNo;
	}

	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the paxIDs
	 */
	public String getPaxIDs() {
		return paxIDs;
	}
	/**
	 * @param paxIDs the paxIDs to set
	 */
	public void setPaxIDs(String paxIDs) {
		this.paxIDs = paxIDs;
	}
	/**
	 * @return the pNR
	 */
	public String getPNR() {
		return PNR;
	}
	/**
	 * @param pNR the pNR to set
	 */
	public void setPNR(String pNR) {
		PNR = pNR;
	}
	/**
	 * @return the fixStatus
	 */
	public String getFixStatus() {
		return fixStatus;
	}
	/**
	 * @param fixStatus the fixStatus to set
	 */
	public void setFixStatus(String fixStatus) {
		this.fixStatus = fixStatus;
	}
	/**
	 * @return the createTime
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the fixTime
	 */
	public String getFixTime() {
		return fixTime;
	}
	/**
	 * @param fixTime the fixTime to set
	 */
	public void setFixTime(String fixTime) {
		this.fixTime = fixTime;
	}
	/**
	 * @return the airline
	 */
	public String getAirline() {
		return airline;
	}
	/**
	 * @param airline the airline to set
	 */
	public void setAirline(String airline) {
		this.airline = airline;
	}

	/**
	 * @return the ticketNOs
	 */
	public String getTicketNOs() {
		return ticketNOs;
	}

	/**
	 * @param ticketNOs the ticketNOs to set
	 */
	public void setTicketNOs(String ticketNOs) {
		this.ticketNOs = ticketNOs;
	}

	/**
	 * @return the refundNO
	 */
	public String getRefundNO() {
		return refundNO;
	}

	/**
	 * @param refundNO the refundNO to set
	 */
	public void setRefundNO(String refundNO) {
		this.refundNO = refundNO;
	}

	/**
	 * @return the refundID
	 */
	public long getRefundID() {
		return refundID;
	}

	/**
	 * @param refundID the refundID to set
	 */
	public void setRefundID(long refundID) {
		this.refundID = refundID;
	}

	/**
	 * @return the refundTime
	 */
	public String getRefundTime() {
		return refundTime;
	}

	/**
	 * @param refundTime the refundTime to set
	 */
	public void setRefundTime(String refundTime) {
		this.refundTime = refundTime;
	}

	/**
	 * @return the error
	 */
	public boolean isError() {
		return error;
	}

	/**
	 * @param error the error to set
	 */
	public void setError(boolean error) {
		this.error = error;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
}
